package org.jeecg.modules.bj.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.bj.entity.Lwgzlsb;
import org.jeecg.modules.bj.mapper.LwgzlsbMapper;
import org.jeecg.modules.bj.service.ILwgzlsbService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
@DS("bj")
public class LwgzlsbServiceImpl extends ServiceImpl<LwgzlsbMapper, Lwgzlsb> implements ILwgzlsbService {

   @Resource
    LwgzlsbMapper lwgzlsbMapper;

   @Override
    public List<Lwgzlsb> getListByYgid(int ygid){
        return lwgzlsbMapper.getListByYgid(ygid);
    }
}
